package com.fsj.admin.system.dao;


import java.util.Date;
import java.util.List;
import java.util.Map;

import com.fsj.admin.system.domain.OrderDO;
import org.apache.ibatis.annotations.Mapper;

/**
 * 订单表
 *
 * @author chglee
 * @email 1992lcg@163.com
 * @date 2019-02-22 16:02:33
 */
@Mapper
public interface OrderDao {

    OrderDO get(Long orderId);

    List<OrderDO> list(Map<String, Object> map);

    int count(Map<String, Object> map);

    int save(OrderDO order);

    int update(OrderDO order);

    int remove(Long order_id);

    int batchRemove(Long[] orderIds);

    int updateOrderComplaint(Map<String, Object> map);

    int updateNoSelective(OrderDO order);

    int colseOrder(Date date);
}
